<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>生命周期</title>
    <script src="../../vue.js"></script>
</head>
<body>
<div id="app">
    {{number/10}}
    {{isOK?'确定':'取消'}}
    {{text.split(',').reverse().join(',')}}
</div>
</body>
<script>
    //插值表达式
    var app = new Vue({
        el: '#app',
        data: {
            number:100,
            isOK:false,
            text:'123,456'
        }
    })

</script>
</html>